package com.atguigu.spzx.manager;

import com.atguigu.spzx.common.log.annotation.EnableLogAspect;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * ClassName: SpzxManager
 * Package: com.atguigu.spzx.manager
 * Description:
 *
 * @Author 刘强
 * @Create 2024/6/27 15:20
 * @Version 1.0
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.atguigu.spzx")
@EnableScheduling  // 开启定时任务
@EnableAspectJAutoProxy
@EnableAsync // 开启异步支持
public class SpzxManager {
    public static void main(String[] args) {
        SpringApplication.run(SpzxManager.class,args);
    }
}
